package com.xiaoge.service;

import com.xiaoge.TestClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

/**
 * TODO
 *
 * @author <a href="mailto:zhangxiao@dist.com.cn">Zhang Xiao</a>
 * @since
 */
@Configuration
public class ProfileService {

    @Bean
    @Profile(value = "dev")
    public TestClass testClass() {
        return new TestClass();
    }

}
